package gortc

import (
	"gitee.com/general252/gortc/pkg/rtcsession"
	"gitee.com/general252/gortc/pkg/rtssession"
	"gitee.com/general252/gortc/pkg/streammuxer"
	"gitee.com/general252/gortc/pkg/track"
)

func NewClientSession(writer track.RtpRtcpWriter) *rtcsession.ClientSession {
	return rtcsession.NewClientSession(writer)
}

func NewServerSessionRTP(mediaPath string, mux streammuxer.StreamMuxer, writer track.RtpRtcpWriter) *rtssession.ServerSessionRTP {
	return rtssession.NewServerSessionRTP(mediaPath, mux, writer)
}

func NewServerSessionPacket(mediaPath string, mux streammuxer.StreamMuxer, writer track.RtpRtcpWriter) *rtssession.ServerSessionPacket {
	return rtssession.NewServerSessionPacket(mediaPath, mux, writer)
}
